﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using System.Xml;

namespace GameVLTK
{
    public abstract class Skill : VisibleGameEntity
    {
        //Sử dụng để Clone đối tượng
        protected ContentManager Content;
        protected string Path;
        protected int _nTextures;

        public virtual int nTextures
        {
            get { return _nTextures; }
            set { _nTextures = value; }
        }

        //Trạng thái của skill
        protected bool _IsSkillActive;

        public bool IsSkillActive
        {
            get { return _IsSkillActive; }
            set { _IsSkillActive = value; }
        }


        public Skill(ContentManager content, string path, int nTextures)
        {
            this.Content = content;
            this.Path = path;
            this.nTextures = nTextures;
            
        }

        public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            if (this.IsSkillActive)
            {
                base.Draw(gameTime, spriteBatch);
            }
        }

        
    }
}
